package com.coffee.takeoutserver.service;

import com.coffee.takeoutserver.bean.GoodsInfo;
import com.coffee.takeoutserver.bean.GoodsTypeInfo;
import com.coffee.takeoutserver.bean.Seller;

import java.util.List;

public interface SellerService {
    List<GoodsInfo> getGoodsInfoByTypeId(int typeId);
    List<GoodsTypeInfo> getGoodsTypeInfoBySellerId(int sellerId);
    List<GoodsInfo> getGoodsInfoBySellerId(int sellerId);
    List<Seller> getSellerListBySellerIdList(List<Integer> list);
    Seller getSellerById(int id);
    void insertSeller(Seller seller);
    void updateSellerById(Seller seller);
}
